Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(agent): Fix agent loss message bug #1283

Merged
merged 6 commits into from
Mar 14, 2024
Merged

fix(agent): Fix agent loss message bug #1283

merged 6 commits into from
Mar 14, 2024

Conversation

yhjun1026
Copy link
Collaborator

@yhjun1026 yhjun1026 commented Mar 13, 2024

Description

1.Fix autoplan mode rely message miss
2.Fix ToolExpert use plugin hub load bug
3.Modify Agent message output logic

Close #1243

How Has This Been Tested?

Snapshots:

image

Checklist:

  • My code follows the style guidelines of this project
  • I have already rebased the commits and make the commit message conform to the project standard.
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • Any dependent changes have been merged and published in downstream modules

1.Fix autoplan mode rely message miss
2.Fix ToolExpert use plugin hub load bug
3.Modify Agent message output logic
1.Fix autoplan mode rely message miss
2.Fix ToolExpert use plugin hub load bug
3.Modify Agent message output logic
1.Fix autoplan mode rely message miss
2.Fix ToolExpert use plugin hub load bug
3.Modify Agent message output logic
1.Fix autoplan mode rely message miss
2.Fix ToolExpert use plugin hub load bug
3.Modify Agent message output logic
1.Fix autoplan mode rely message miss
2.Fix ToolExpert use plugin hub load bug
3.Modify Agent message output logic
@yhjun1026
Copy link
Collaborator Author

#1243

@csunny
Copy link
Collaborator

csunny commented Mar 13, 2024

When use web search app, the error occur

Tool action run failed!local variable 'tool_result' referenced before assignment

1.Fix autoplan mode rely message miss
2.Fix ToolExpert use plugin hub load bug
3.Modify Agent message output logic
@yhjun1026
Copy link
Collaborator Author

When use web search app, the error occur

Tool action run failed!local variable 'tool_result' referenced before assignment

Okay, I have fixed the bug. If the plug-in fails to execute or returns empty, the message can be displayed normally.

image
image

Copy link
Collaborator

@csunny csunny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+

Copy link
Collaborator

@fangyinc fangyinc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+

@fangyinc fangyinc changed the title agent bug fix fix(agent): Fix agent loss message bug Mar 14, 2024
@github-actions github-actions bot added agent Module: agent fix Bug fixes labels Mar 14, 2024
@fangyinc fangyinc merged commit a207640 into main Mar 14, 2024
5 checks passed
@csunny csunny deleted the gpts_app_v0.6 branch September 2, 2024 10:07
Hopshine pushed a commit to Hopshine/DB-GPT that referenced this pull request Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent Module: agent fix Bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] [AutoPlanChatManager] in auto_plan multi-agent mode,memory did not work?
3 participants